package com.way.domain.vo;

import com.way.domain.entity.SysRole;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "用户Vo")
public class SysUserVo {

    @Schema(description = "用户ID")
    private Integer id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "性别：0女，1男")
    private Integer gender;

    @Schema(description = "简介")
    private String remark;

    @Schema(description = "状态：1启用，0停用")
    private Integer flag;

    @Schema(description = "是否删除：0否，1是")
    private Integer isDeleted;

    @Schema(description = "角色清单")
    private List<SysRole> roles;

}
